<!-- S 二级菜单 -->
<div class="admin-menu">
    <div class="admin-subnav-box">
        <ul class="J-subnav-list">
            <?php
            if(Purview::checkRole($this->UserConfig['Id'],array(1,4,6,15))){
                ?>
            <li class="<?php if(in_array($this->Action,array('pendinglist'))){echo 'on';}?>">
                <a href="/order/pendinglist/">
                    待处理列表
                </a>
            </li>
            <?php }?>
            <li class="<?php if(in_array($this->Action,array('index'))){echo 'on';}?>">
                <a href="/index/index/">
                    订单列表
                </a>
            </li>
			<?php
				if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','crolist'))){
			?>
            <li data-status="征信提交" class="<?php if(in_array($this->Action,array('crolist', 'crotrial'))){echo 'on';}?>">
                <a href="/order/crolist/">
                    待征信查询
					<em class="J-subnav-dzxcx">0</em>
                </a>
            </li>
			<?php
				}
				if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','trolist'))){
			?>
			<li data-status="征信查询" class="<?php if(in_array($this->Action,array('trolist'))){echo 'on';}?>">
                <a href="/order/trolist/">
                    待初审单提交
                    <em class="J-subnav-dcsdtj">0</em>
                </a>
            </li>
			<?php
				}
				if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','ftolist'))){
			?>
            <li data-status="初审提交" class="<?php if(in_array($this->Action,array('ftolist', 'ftoaudit'))){echo 'on';}?>">
                <a href="/order/ftolist/">
                    待资料审核
                    <em class="J-subnav-dzlsh">0</em>
                </a>
            </li>
            <?php
                }
                if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','dshlist'))){
            ?>
                <li data-status="待审核" class="<?php if(in_array($this->Action,array('dshlist','dshaudit'))){echo 'on';}?>">
                    <a href="/order/dshlist/">
                        待审核
                        <em class="J-subnav-dsh">0</em>
                    </a>
                </li>
			<?php
				}
				if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','faolist'))){
			?>
            <li data-status="初审通过" class="<?php if(in_array($this->Action,array('faolist', 'faoaudit'))){echo 'on';}?>">
                <a href="/order/faolist/">
                    待电话审核
					<em class="J-subnav-dzs">0</em>
                </a>
            </li>
			<?php
				}
				if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','revolist'))){
			?>
            <li data-status="终审提交" class="<?php if(in_array($this->Action,array('revolist', 'revoaudit'))){echo 'on';}?>">
                <a href="/order/revolist/">
                    待资料原件审核
					<em class="J-subnav-dshjzlfh">0</em>
                </a>
            </li>
            <?php 
                }
                if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','fvolist'))){
            ?>
            <li data-status="待视频审核" class="<?php if(in_array($this->Action,array('fvolist', 'fvoaudit'))){echo 'on';}?>">
                <a href="/order/fvolist/">
                    待视频审核
                    <em class="J-subnav-dsps">0</em>
                </a>
            </li>
			<?php
				}
				if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','waitpay'))){
			?>
            <li data-status="待支付" class="<?php if(in_array($this->Action,array('waitpay'))){echo 'on';}?>">
                <a href="/order/waitpay/">
                    待支付
					<em class="J-subnav-dzf">0</em>
                </a>
            </li>
			<?php
				}
				if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','sthindex'))){
			?>
            <li data-status="待通融" class="<?php if(in_array($this->Action,array('sthindex'))){echo 'on';}?>">
                <a href="/order/sthindex/">
                    待通融
					<em class="J-subnav-dtr">0</em>
                </a>
            </li>
			<?php
				}
				if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','oeditindex'))){
			?>
            <li data-status="修改待审核" class="<?php if(in_array($this->Action,array('oeditindex'))){echo 'on';}?>">
                <a href="/order/oeditindex/">
                    订单修改待审核
					<em class="J-subnav-ddxgdsh">0</em>
                </a>
            </li>
                    <?php
                }
            if(Purview::checkPurview($this->UserConfig['Id'],array('crm','order','assesslist'))){
                ?>
                <li data-status="待评估" class="<?php if(in_array($this->Action,array('assessindex'))){echo 'on';}?>">
                    <a href="/order/assessindex">
                        待评估
                        <em class="J-subnav-ddpg">0</em>
                    </a>
                </li>
                <?php
            }
            ?>
            <a href="javascript:window.location.reload();" class="page-reload" title="刷新"></a>
        </ul>
    </div>
</div>
<!-- E 二级菜单 -->
<script type="text/javascript">
	$(document).ready(function(e) {
        $(".J-subnav-list").dyhlGetNumber();
    });
</script>
